
import router from './router'
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 创建一个 Vue 应用实例  
const app = createApp(App)

// 在应用实例上使用路由  
app.use(router)
app.use(ElementPlus)
// 挂载应用实例到 #app 元素上  
app.mount('#app')

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}


